package com.finance.service;

import com.finance.domain.User;

import java.util.List;

public interface UserService {
    User selectUserByNameAndPassword(User u);

    int insert(User u);

    User findUserByUserName(String userName);

    int updatePassword(User u);

    List<User> selectAllUser(String user_id);

    int deleteByPrimaryKey(int uid);

    int updateByPrimaryKey(User u);
}
